import { createApp } from 'vue'
import App from "./App.vue";
import router from "./router";
import { setupStore } from "./store";
import SvgIcon from "@/components/SvgIcon/index.vue";
import ArcoVueIcon from '@arco-design/web-vue/es/icon';

import "./style.css";
import '@arco-design/web-vue/dist/arco.css';
import '@unocss/reset/tailwind.css'
import 'virtual:uno.css'

const app = createApp(App);
app.config.errorHandler = (err, _vm, info) => {
    console.error('组件渲染出错', err, info);
};
setupStore(app);
app.use(router);
app.use(ArcoVueIcon);
app.component("SvgIcon", SvgIcon);
app.mount("#app");
